<!doctype html>
<html>
    
    <body>
        <h1>JSCoreBridge</h1>
        <div id='buttons'></div>
        
        <script>
            
            // 调用demo
            ; (function () {
               var callbackButton = document.getElementById('buttons').appendChild(document.createElement('button'));
               callbackButton.innerHTML = 'CallNative';
               
               callbackButton.onclick = function (e) {
               alert(callNative("alertMessage", "Hello world!"));
               };
               })()
               
            </script>
    </body>
    
</html>
